types are "limited", "toll", "us", "state", "major", and "local".
This option has a special format that is best demonstrated by example:
- "type=limited|I-599|major|Beecher St."
+ "type=limited!I-599!major!Beecher St."
This option will cause any road named "I-599" to become a limited-
access highway and any road named "Beecher St." to become a major
if ( !road_changes || !road_changes[0] ) {
return;
}
- bar = strchr( road_changes, '|' );
+ bar = strchr( road_changes, '!' );
while ( bar ) {
count++;
- bar = strchr( bar+1, '|' );
+ bar = strchr( bar+1, '!' );
}
if ( !(count&1)) {
fatal( MYNAME ": invalid format for road changes\n" );
while ( count ) {
count--;
name = bar;
- bar = strchr( name, '|' );
+ bar = strchr( name, '!' );
*bar = '\0';
bar++;
strType = bar;
- bar = strchr( strType, '|' );
+ bar = strchr( strType, '!' );
if ( bar ) {
*bar = '\0';
bar++;